const mos = require('./08-connect');

const newSchema = new mos.Schema({
    newsTitle:{
        type:String,
        require:true
    },
    newsContent:{
        type:String,
        require:true
    },
})

const newsModel = mos.model('newslist',newSchema);

module.exports = newsModel;